<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="blog/amaze/header::head-fragment"></head>
<body id="blog">
<link rel="shortcut icon" th:href="@{/admin/dist/img/favicon.png}"/>
<!--axios-->
<script th:src="@{/blog/default/js/axios.js}"></script>
<!--goodsentence-->
<script type="text/javascript" src="https://api.uixsj.cn/hitokoto/get?type=fart&code=js"></script>
<!--englishMethod-->
<script type="text/javascript" src="https://api.uixsj.cn/hitokoto/get?type=en&code=js"></script>

<!--mymethod-->
<script th:src="@{/blog/default/js/mymethod.js}"></script>

<!--背景特效资源-->
<script th:src="@{/blog/amaze/js/canvas-ribbon.js}"></script>
<script th:src="@{/blog/amaze/js/canvas-ribbon.js}"></script>
<script th:src="@{/blog/amaze/js/canvas-ribbon.js}"></script>

<div th:replace="blog/amaze/header::nav-fragment"></div>
<div th:replace="blog/amaze/header::header-fragment"></div>
<div class="am-g am-g-fixed blog-fixed" style="border: 1px solid #e5e5e5;text-align: center">
    <hr>
    <div id="a1" onclick="goodsentence()" style="text-align: center">
        <h1>
            <script>fart()</script>
        </h1>
    </div>
    <hr>
    <div style="text-align: center;color: skyblue" onclick="goodsentence()">
        <h4>点击切换文案</h4>
    </div>

    <div th:replace="blog/amaze/blog-list::blog-list-fragment"></div>
    <div th:replace="blog/amaze/side::side-fragment"></div>
</div>

<!--回到顶部-->
<p class="back-top" id="back-top" style="display:none"><a href="#top"><span></span></a></p>

<footer th:replace="blog/amaze/footer::footer-fragment"></footer>
</body>
<script th:src="@{/blog/plugins/jquery/jquery.min.js}"></script>
<script th:src="@{/blog/plugins/search/search.js}"></script>

<!--回到顶部JS-->
<script th:src="@{/blog/default/js/jquery.min.js}"></script>
<script>
    $(function () {
        $("#back-top").hide();
        $(window).scroll(function () {
            if ($(this).scrollTop() > 300) {
                $('#back-top').fadeIn();
            } else {
                $('#back-top').fadeOut();
            }
        });
        // scroll body to 0px on click
        $('#back-top a').click(function () {
            $('body,html').animate({
                scrollTop: 0
            }, 800);
            return false;
        });
        $('pre code').each(function (i, block) {
            hljs.highlightBlock(block);
        });
        $('article h1, article h2, article h3, article h4, article h5').find('a').removeAttr('target')
    })
</script>

<!--烟花特效资源-->
<script th:src="@{/blog/default/js/yhtx.js}"></script>
</html>
